package com.rock.code.bigdata.platform.controller;

import com.rock.code.base.controller.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author piandu
 * @description
 * @date 2018/12/14
 */
@Controller
@RequestMapping("/kpiIframContrast")
public class contrastFormController extends BaseController {

    @RequestMapping("/{CI_TYPE}/{areaFlag}")
    public String host(@PathVariable("CI_TYPE") String CI_TYPE,
                       @PathVariable("areaFlag") String areaFlag) {
        this.request.setAttribute("CI_TYPE", CI_TYPE);
        this.request.setAttribute("areaFlag", areaFlag);
        return "bigdata/platform/contrastIframeView";
    }
}
